<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<!-- 先引入 Vue -->
  <script src="https://unpkg.com/vue/dist/vue.js"></script>
<!-- 引入样式 -->
<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-default/index.css">
  <!-- 引入组件库 -->
  <script src="https://unpkg.com/element-ui/lib/index.js"></script>
  <style>
  .time {
    font-size: 13px;
    color: #999;
  }
  
  .bottom {
    margin-top: 13px;
    line-height: 12px;
  }

  .button {
    padding: 0;
    float: right;
  }

  .image {
    width: 100%;
    display: block;
  }

  .clearfix:before,
  .clearfix:after {
      display: table;
      content: "";
  }
  
  .clearfix:after {
      clear: both
  }
</style>

</head>
<body>
<div id="app">
  <el-row>
    <el-col :span="8" v-for="(o,index) in 2" :key="o" :offset="index > 0 ?2:0">
      <el-card :body-style="{padding:'0px'}">
        <img src="http://t1.s1.dpfile.com/pc/mc/c8fb6373ddbc4eec1f95870f3ad79faa%28640x1024%29/thumb.jpg" class="image">
        <div style="padding:14px;">
        <span>好吃的汉堡</span>
        <div class="bottom clearfix">
        <time class="time">{{currentDate}}</time> 
        <el-button type="text" class="button">操作按钮</el-button>
        </div>
        </div>
      </el-card>
    </el-col>
  </el-row>
  </div>
</body>

<script>
new Vue({
  el: '#app',
  data: {
    currentDate: new Date()
  },
  
})

</script>
</html>
